@extends('admin.public.father')

@section('content')
    <div class="col-sm-6">
        <ul class="nav">
            <li class="nav-item">
                <a class="nav-link" href="{{route("user.index")}}">用户列表</a>
            </li>
            <li class="nav-item">
                <a class="nav-link active" href="{{route('user.create')}}">添加用户</a>
            </li>
        </ul>
        <form action="{{route('user.store')}}" method="post">
            @csrf
            <div class="form-group">
                <label for="exampleInputEmail1">用户名</label>
                <input type="text" class="form-control" name="name">
            </div>
            <div class="form-group">
                <label for="exampleInputEmail1">邮箱</label>
                <input type="email" class="form-control" name="email">
            </div>
            <div class="form-group">
                <label for="exampleInputPassword1">密码</label>
                <input type="password" class="form-control"name="password" >
            </div>

            <button type="submit" class="btn btn-default">Submit</button>

        </form>
    </div>
@endsection